[Fix]: Normalize Years and Months while constructing ISO8601 Duration String#2484
Merged
VardhanThigle merged 1 commit intoGoogleCloudPlatform:mainfrom Jul 3, 2025
Conversation
Contributor
VardhanThigle
left a comment
There was a problem hiding this comment.
Thanks a ton for the change. If Google Sql needs a normalized entry, we should do that in dataflow.
I have triggered an IT flow, if any of the IT data needs to be tweaked for the normalisation, will let you know here.
a08ce97 to
e893004
Compare
VardhanThigle
requested changes
Jun 27, 2025
Contributor
VardhanThigle
left a comment
There was a problem hiding this comment.
You might need to change
.isEqualTo(Value.string("P1000Y1000M3890DT30H31M12.000000009S")) at line 604 to a normazlied valaue too.
e893004 to
810d665
Compare
810d665 to
fce604a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2484 +/- ##
============================================
+ Coverage 49.64% 54.50% +4.86%
+ Complexity 4807 1852 -2955
============================================
Files 941 445 -496
Lines 57683 24964 -32719
Branches 6233 2582 -3651
============================================
- Hits 28635 13606 -15029
+ Misses 27007 10542 -16465
+ Partials 2041 816 -1225
🚀 New features to boost your workflow:
|
fce604a to
aceb80d
Compare
VardhanThigle
approved these changes
Jul 3, 2025
MnkyGns
pushed a commit
to MnkyGns/DataflowTemplates
that referenced
this pull request
Feb 12, 2026
… string (GoogleCloudPlatform#2484) Co-authored-by: Sagar Agarwal <sagarwaal@google.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The change ensures that